<!DOCTYPE html>
<html class="no-js" lang="zh-CN">
  <head>
    <meta charset="utf-8">
    
    <link rel="preload" href="https://linuxsuren.github.io/files/muli-latin-200.woff2" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="https://linuxsuren.github.io/files/muli-latin-400.woff2" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="https://linuxsuren.github.io/files/muli-latin-800.woff2" as="font" type="font/woff2" crossorigin>

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
     
    <title>SuRenPi</title>
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">

    <meta name="viewport" content="width=device-width,minimum-scale=1">
     <meta name="generator" content="Hugo 0.41" />

      
        <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
      

    <link href='/dist/main.css' rel='stylesheet' type="text/css" /><script src="/js/chart.js"></script>
<style>
  img.avatar {
    width: 32px;
    display: inline;
  }
</style>
<meta property="og:title" content="" />
<meta property="og:description" content="快捷键 删除文件 command &#43; delete
浏览器 关闭选项卡 command &#43; w
前后切换选项卡 command &#43; &lt;-
指定顺序切换选项卡 command &#43; 1
关闭浏览器 command &#43; q
截图  截取全屏并保存文件 shift &#43; command &#43; 3
 截取部分并保存文件 shift &#43; command &#43; 4
 截取全屏并保存粘贴板 shift &#43; control &#43; command &#43; 3
 截取部分并保存粘贴板 shift &#43; control &#43; command &#43; 4
  丢失管理身份 当你的误操作导致丢失了 mac 用户的管理员身份时，可以按照下面的步骤找回管理。
 开机后按下 command&#43;s
 进入终端后输入命令 /sbin/mount -uaw`
 执行命令 rm /var/db/." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://linuxsuren.github.io/blog/os/mac/mac/" />
















<meta itemprop="name" content="">
<meta itemprop="description" content="快捷键 删除文件 command &#43; delete
浏览器 关闭选项卡 command &#43; w
前后切换选项卡 command &#43; &lt;-
指定顺序切换选项卡 command &#43; 1
关闭浏览器 command &#43; q
截图  截取全屏并保存文件 shift &#43; command &#43; 3
 截取部分并保存文件 shift &#43; command &#43; 4
 截取全屏并保存粘贴板 shift &#43; control &#43; command &#43; 3
 截取部分并保存粘贴板 shift &#43; control &#43; command &#43; 4
  丢失管理身份 当你的误操作导致丢失了 mac 用户的管理员身份时，可以按照下面的步骤找回管理。
 开机后按下 command&#43;s
 进入终端后输入命令 /sbin/mount -uaw`
 执行命令 rm /var/db/.">



<meta itemprop="wordCount" content="64">



<meta itemprop="keywords" content="" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content=""/>
<meta name="twitter:description" content="快捷键 删除文件 command &#43; delete
浏览器 关闭选项卡 command &#43; w
前后切换选项卡 command &#43; &lt;-
指定顺序切换选项卡 command &#43; 1
关闭浏览器 command &#43; q
截图  截取全屏并保存文件 shift &#43; command &#43; 3
 截取部分并保存文件 shift &#43; command &#43; 4
 截取全屏并保存粘贴板 shift &#43; control &#43; command &#43; 3
 截取部分并保存粘贴板 shift &#43; control &#43; command &#43; 4
  丢失管理身份 当你的误操作导致丢失了 mac 用户的管理员身份时，可以按照下面的步骤找回管理。
 开机后按下 command&#43;s
 进入终端后输入命令 /sbin/mount -uaw`
 执行命令 rm /var/db/."/>





  </head>
  <body class="ma0 sans-serif bg-primary-color-light">
    
<nav class="bg-primary-color-dark pv4 w-100" role="navigation">

  <div class="center flex-ns flex-wrap items-center justify-start mw9">

    <h1 class="dim f3 lh-solid ml0-ns mr0 mr4-l mv0 pl3 pl4-ns">
      <a href="https://linuxsuren.github.io/" class="link white">
         SuRenPi
      </a>
    </h1>
    <ul class="list ma0 pa0 dn dib-l">
      
        <li class="f5 dib mr4" role="menuitem">
            
          <a href="/blog" class="dim link light-silver">
            博客
              
            
            
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
          <a href="/translation" class="dim link light-silver">
            翻译
              
            
            
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
          <a href="/opensource" class="dim link light-silver">
            开源
              
            
            
          </a>
        </li>
      
    </ul>

    <div class="db dib-ns pl3"><form id="site-search-form" action="" role="search">
  <fieldset class="bn ma0 pa0">
    <label class="clip" for="email-address">Search</label>
    <input type="search" id="search-input" class="needs-js bg-left bg-transparent bn f5 input-reset lh-solid mt3 mt0-ns pl4 pv2 w5 white" placeholder="搜索文档" type="text" name="email-address" value="" style="background-image:url('/images/icon-search.png');background-size:16px 16px;">
  </fieldset>
</form>
</div>

    <div class="list ma0 pa0 dn dib-l"><ul class="list ma0 pa0 dn dib-l">

  <li class="f5 dib mr4" role="menuitem">
    <a href="https://linuxsuren.github.io/" class="dim gray"></a>
  </li>

</ul>
</div>

    <span class="absolute mt1 mt2-l pr3 right-0 top-0">

<a class="github-button needs-js link primary-color-dark" href="https://github.com/jenkins-x/jx" data-size="large" data-show-count="false" aria-label="Star jenkins-x/jx on GitHub">Star</a>
</span>

  </div>
</nav>

    
    <main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns">
      
  <article class="w-100 ph4 pb5 pb6-ns pt1 pt5-ns">
    <div class="flex-l">

      <div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">
<aside class="fixed-lTK mw5-l right-0 f6 bl-l b--moon-gray pv4 pv0-ns ph4-l nested-list-reset nested-links nested-copy-line-height">
	

	<div date-pref>
		
			<a href="https://linuxsuren.github.io/blog/os/linux/wget/" class="dib f6 pl1 hover-bg-light-gray br-100" title=" ">
				<svg class="fill-current" height="30px" viewBox="0 0 24 24" width="30px" xmlns="http://www.w3.org/2000/svg">
    <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

			</a>
		

		
			<a href="https://linuxsuren.github.io/blog/os/telnet/" class="dib f6 pr1 hover-bg-light-gray br-100" title="">
			<svg class="fill-current" height="30px" viewBox="0 0 24 24" width="30px" xmlns="http://www.w3.org/2000/svg">
    <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

			</a>
		
	</div>

</aside>
</div>

      <div class="order-1 w-60-l mw7 ph0 ph5-ns mid-gray nested-copy-line-height no-underline nested-links nested-img nested-copy-seperator nested-blockquote mt0-ns" style="flex-grow:1;">
        <div class="documentation-copy center measure-wide-l">
          <div id="readout" class="fixed right-0 bottom-0">
          </div>
          <header class="flex-none w-100">
  
  <h1 class="lh-title mb3 mv0 pt3 primary-color-dark"></h1>
</header>

<aside class="bt bw1 pt3 mt2 mid-gray b--mid-gray fn w-100">
  

  
</aside>



<div class="prose" id="prose">



<h1 id="快捷键">快捷键</h1>

<p>删除文件 <code>command + delete</code></p>

<h2 id="浏览器">浏览器</h2>

<p>关闭选项卡 <code>command + w</code></p>

<p>前后切换选项卡 <code>command + &lt;-</code></p>

<p>指定顺序切换选项卡 <code>command + 1</code></p>

<p>关闭浏览器 <code>command + q</code></p>

<h2 id="截图">截图</h2>

<ul>
<li><p>截取全屏并保存文件 <code>shift + command + 3</code></p></li>

<li><p>截取部分并保存文件 <code>shift + command + 4</code></p></li>

<li><p>截取全屏并保存粘贴板 <code>shift + control + command + 3</code></p></li>

<li><p>截取部分并保存粘贴板 <code>shift + control + command + 4</code></p></li>
</ul>

<h1 id="丢失管理身份">丢失管理身份</h1>

<p>当你的误操作导致丢失了 mac 用户的管理员身份时，可以按照下面的步骤找回管理。</p>

<ol>
<li><p>开机后按下 <code>command+s</code></p></li>

<li><p>进入终端后输入命令 <code>/sbin/mount -uaw</code>`</p></li>

<li><p>执行命令 <code>rm /var/db/.applesetupdone</code></p></li>
</ol>

<p>操作系统重启后，会提示用户重新创建一个管理员身份。注意，这不会删除之前的用户信息。登陆系统后，你可以用户管理功能再次把之前的用户身份找回来。</p>

</div>

          

        </div>
      </div>
      <div class="order-0 w-20 dn db-l">
        
<nav role="navigation">
  <ul class="list pa0 nl2">
    
  </ul>
</nav>

      </div>

    </div>
  </article>

  <div class="w-100 bg-light-gray">
    <div class="mw7 pa4 center nested-lh-copy lh-copy">
      <h6 class="f4 dark-gray mb2">
  <a href="https://linuxsuren.github.io/blog/os/mac/mac/" class="hide-child link primary-color">
  <span class="nl3 child"><svg class="grow" fill="" height="14px" viewBox="0 0 24 24" width="14px" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>
</span>
    “”
  </a> was last updated: January 1, 0001
</h6>

      <a href="edit/master/content/blog/os/mac/mac.md" class="
f6 ph3 pv1 br2 dib  tc ttu mv3 bg-primary-color white hover-bg-green link
">Improve this page</a>

      


    </div>
  </div>

    </main>

    <footer class="bg-primary-color-dark ph4-ns pt4 relative w-100" role="contentinfo">
  <div class="center flex-ns flex-wrap justify-between mw9 w-90">
    <div class="pb3 pt4 w-100 w-50-ns">

      <div class="b f3  light-gray mb3 nested-links tc">
        By the <a href="https://github.com/jenkins-x/jx/contributors" class="link">Jenkins X Authors</a><br/>
      </div>

      <ul class="center f6 list ma0 mv3 pa0 tc"></ul>

      <ul class="center f6 list ma0 mv4 pa0 tc">
        <li class="dib mr3"><a href="https://twitter.com/jenkinsxio" class="dim link light-gray pv2">@jenkinsxio</a>
        </li>
      </ul>

      
    </div>

    <div> 
      <img src="http://jenkins-x.io/img/profile.png" with="100" height="100">
    </div>

  </div>

  <div class="f7 gray mb5 mb0-ns ph3 w-100"> 
    <p class="dib mr4">Jenkins&reg; is a registered trademark of <a href="https://www.spi-inc.org/" class="link">Software in the Public Interest, Inc.</a></p>
    <p class="dib">Copyright 2018–2018 the original authors.</p>
  </div>


  <div class="bg-primary-color-dark bottom-0 left-0 right-0 dn-l fixed pb3 ph3 w-100"><div  class="globalmenu mobilemenu pb3 dn">
    

<ul class="list hidden dib ph0 ma0 scrolling-touch tc">
  
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/blog" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          博客
        </a>
    </li>
  
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/translation" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          翻译
        </a>
    </li>
  
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/opensource" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          开源
        </a>
    </li>
  
</ul>

</div>
<div  class="docsmenu mobilemenu pb3 dn">
    

<ul class="list dib ph0 ma0 scrolling-touch tc">
  
</ul>

</div>

<div class="flex dn-l justify-between">
  <button class="js-toggle flex-auto dib dn-l f6 tc db mt4-ns ph3 pv2 link mr2 white bg-primary-color-dark hover-bg-primary-color ba b--white-40 w-auto" data-target=".globalmenu">Menu</button>

  <button class="js-toggle flex-auto dib dn-l f6 tc db mt4-ns ph3 pv2 link white bg-primary-color-dark hover-bg-primary-color ba b--white-40 w-auto" data-target=".docsmenu">Docs Menu</button>
</div>
</div>

</footer>

    <script src="/dist/app.bundle.js"></script>

<script async defer src="https://buttons.github.io/buttons.js"></script>


  </body>
</html>
